var inputResource = [
    {
        _sType: "sPageBody",
        children: [
            {
                _sType: "sInputBegin",
                style: {
                    width: 2,
                    height: 20
                }
            },
            {
                _sType: "sText",
                innerText: "这是一段文本输入域",
            },
            {
                _sType: "sInputEnd",
                style: {
                    width: 2,
                    height: 20
                }
            },
        ],
        style: {
            padding: 40
        }
    },
    {
        _sType: "sPageHead",
        children: [
            {
                _sType: "sText",
                innerText: "",
                style: {
                }
            },
            {
                _sType: "sParagraph",
                style: {
                    lineHeight: 2,
                    textIndent: 0,
                    textAlign: "center"
                }
            },
        ],
        style: {
        }
    },
    {
        _sType: "sPageFoot",
        children: [
            {
                _sType: "sLayer",
                children: [
                    {
                        _sType: "sText",
                        innerText: "第1页",
                        variable: {
                            name: "pageIndex",
                            format: "第{pageIndex}页"
                        },
                        style: {
                        }
                    },
                    {
                        _sType: "sParagraph",
                        style: {
                            lineHeight: 2,
                            textIndent: 0,
                            textAlign: "center"
                        }
                    },
                ],
                style: {
                    width: 200,
                    height: 50,
                    backgroundColor: "#ddd",
                }
            }],
        style: {
        }
    }];